<PageHeader as |p|>
  <p.top>
    <KeyValueHeader @baseKey={{model}} @path="vault.cluster.secrets.backend" @root={{root}} @showCurrent={{true}} />
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3">
      Configure {{get (options-for-backend model.type) "displayName"}}
    </h1>
  </p.levelLeft>
</PageHeader>

<Toolbar>
  <ToolbarActions>
    <ToolbarLink
      @params={{array "vault.cluster.secrets.backend" model.id}}
      @data-test-backend-view-link=true
    >
      View backend
    </ToolbarLink>
  </ToolbarActions>
</Toolbar>

{{partial (concat "partials/secret-backend-settings/" model.type)}}
{{outlet}}
